package com.ocom.common.request.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SetDateZoneRequest {


    @JsonProperty(value = "comId")
    @NotNull(message = "单位编号 不能为空")
    private Long comId;

    @JsonProperty(value = "zoneNo")
    @NotNull(message = "时区号 不能为空")
    private Long zoneNo;

    @JsonProperty(value = "dayDate")
    @NotNull(message = "日期类型 不能为空")
    private Long dayDate;

    @JsonProperty(value = "date")
    @NotNull(message = "date 不能为空")
    private String date;
}
